#ifndef __SOUNDMANAGER_H__
#define __SOUNDMANAGER_H__
/////////////////
//include
/////////////////
#include<string>
#include<mmstream.h>
#include<hash_map>
#include<dsound.h>
#include"Se.h"
/////////////////
//const
/////////////////

/////////////////
//class
/////////////////
class SoundManager
{
public:
	SoundManager();
	~SoundManager();
	static void Open(std::string file_name);
	//static void OpenSe(std::string file_name);
	static Se* LoadSe(std::string file_name);
	static void Play(std::string file_name);
	//static void PlaySe(std::string file_name);
	static void PlaySe(Se* se);
	static void Stop(std::string file_name);
	static void Loop(std::string file_name);
	static void SetHwnd(HWND hwnd_){hwnd = hwnd_;}
	static std::hash_map<std::string, MCI_OPEN_PARMS*> param;
	static IDirectSound8* direct_sound;
	static IDirectSoundBuffer8* sound_buffer8;
	static HWND hwnd;
};
#endif __SOUNDMANAGER_H__
